package org.jha.integration.haikoujiakai;

import org.jha.base.CommonTools;

import com.sun.jna.win32.StdCallLibrary;

public interface PKP920 extends StdCallLibrary {
	public PKP920 INSTANCE = CommonTools.loadLibrary(CommonTools.getLibPath()
			+ "\\haikoujiakai\\PKP920", PKP920.class);

	int LT_InitCom(int port, int bps);

	int LT_CloseCom(int port);

	int LT_IDRReadID(int port, byte Addr, byte[] buffer, int timeout);

	int LT_MjWavHz(int port, byte Addr, byte saddr, byte eaddr, byte Hzlen,
			byte HzFmt, byte[] hzstr);

	int LT_MjCashHz1(int port, byte Addr, byte WavNo, byte cashlen,
			byte[] CashStr, byte Hzlen, byte HzFmt, byte[] hzstr);

	int LT_MjOpenDoor(int port, byte Addr, byte DoorNum, byte OpenDelay);

	int LT_DispHz(int port, byte Addr, byte len, byte[] hzstr);
}
